package demo4;

import java.io.File;
import java.util.Arrays;

@SuppressWarnings({"all"})
public class Test {
    public static void main(String[] args) {
        File f=new File("d:/");
        String[] str1=f.list();
        System.out.println(Arrays.toString(str1));
    }
}
